package com.scf.loan.Service.impl;


import com.scf.loan.Service.FileService;
import com.scf.loan.entity.Appendix;
import com.scf.loan.mapper.FileMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FileServiceImpl implements FileService {
	@Resource
	private FileMapper fileMapper;


	@Override
	public int upload(Appendix appendix) {
		return fileMapper.upload(appendix);
	}

	@Override
	public List<Appendix> allFile(Integer plid) {
		return fileMapper.allFile(plid);
	}
}
